// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
// import Vue from 'vue'
import App from './App'
import router from './router'
//ajax
import fetch from './components/common/fetch'

Vue.prototype.$fetch = fetch;
import loading from './components/common/loading.js'

Vue.use(loading)
//echart
// import 'zrender/lib/svg/svg';
// import echarts from 'echarts'
// Vue.prototype.$echarts =echarts;
// require("echarts/lib/chart/line");
// // 引入提示框和标题组件
// require('echarts/lib/component/tooltip');
// require('echarts/lib/component/title');
//input 键盘变形处理
import common from './components/common/common'

common.basefun;


//样式处理
import './components/style/main'

import 'lib-flexible'

// import Vant from 'vant';
import 'vant/lib/index.css';

import store from './components/store/index';

// Vue.use(Vant);


Vue.config.productionTip = false


/* eslint-disable no-new */
new Vue({
  store,
  el: '#app',
  router,
  components: {App},
  template: '<App/>'
})
